PrefabFiles =
    {
        "m_sword",
    }

Assets =
    {
        Asset("IMAGE", "images/inventoryimages/m_sword.tex"),
        Asset("ATLAS", "images/inventoryimages/m_sword.xml"),
    }

STRINGS = GLOBAL.STRINGS
RECIPETABS = GLOBAL.RECIPETABS
Recipe = GLOBAL.Recipe
Ingredient = GLOBAL.Ingredient
TECH = GLOBAL.TECH

GLOBAL.STRINGS.NAMES.M_SWORD = "粉刀"
STRINGS.RECIPE_DESC.M_SWORD = "谁来尝尝我的大宝剑"
GLOBAL.STRINGS.CHARACTERS.GENERIC.DESCRIBE.M_SWORD = "这是什么？我也不知道"

local easy = (GetModConfigData("makeCost") == "easy")

if easy then
    local multiSword = GLOBAL.Recipe("m_sword",
        {
            -- Ingredient("rope", 1),
            -- Ingredient("log", 1),
            Ingredient("flint", 1),
            -- Ingredient("goldnugget", 1)
        },
        RECIPETABS.TOOLS, TECH.NONE)
    multiSword.atlas = "images/inventoryimages/m_sword.xml"


--     AddRecipe("m_sword", {GLOBAL.Ingredient("flint", 1),}, 
--     RECIPETABS.TOOLS, TECH.NONE, nil, nil, nil, nil, "carney", 
-- "images/inventoryimages/m_sword.xml", "m_sword.tex" )

else
    local multiSword = GLOBAL.Recipe("m_sword",
        {
            Ingredient("rope", 1),
            Ingredient("log", 2),
            Ingredient("flint", 1),
            Ingredient("goldnugget", 3),
        
        },
        RECIPETABS.TOOLS, TECH.SCIENCE_ONE)
    multiSword.atlas = "images/inventoryimages/m_sword.xml"
end
